]> dgit.raspbian.org Git - gnome-shell.git/commit
ShellWindowTracker: fix a reference counting bug
authorGiovanni Campagna <gcampagna@src.gnome.org>
Sat, 19 Feb 2011 15:19:31 +0000 (16:19 +0100)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Tue, 22 Feb 2011 15:34:08 +0000 (16:34 +0100)
commit5683bb9b8efbc5bc05c50984fcc817b5ddbec3a6
treee0a513aa061caf5f03aa502527ebd96c4198244f
parent1cf4cb3de58792ab86f63743f9c89473062250fa
ShellWindowTracker: fix a reference counting bug

When retrieving a ShellApp from the GHashTable of child processes,
we need to take an extra reference, that the GHashTable of windows
to apps will own.
Also add some documentation to avoid repeating this bug in the future.

https://bugzilla.gnome.org/show_bug.cgi?id=642699
src/shell-window-tracker.c